{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "f371db5e",
   "metadata": {},
   "outputs": [
    {
     "ename": "SyntaxError",
     "evalue": "invalid syntax (<ipython-input-1-9494d679c8e4>, line 8)",
     "output_type": "error",
     "traceback": [
      "\u001b[1;36m  File \u001b[1;32m\"<ipython-input-1-9494d679c8e4>\"\u001b[1;36m, line \u001b[1;32m8\u001b[0m\n\u001b[1;33m    if username == user\u001b[0m\n\u001b[1;37m                       ^\u001b[0m\n\u001b[1;31mSyntaxError\u001b[0m\u001b[1;31m:\u001b[0m invalid syntax\n"
     ]
    }
   ],
   "source": [
    "count = 4\n",
    "count-= 1\n",
    "str=input()\n",
    "user=\"chico\"\n",
    "passmask=1234\n",
    "username = input(\"请输入正确账号：\")\n",
    "password = input(\"请输入正确密码:\")\n",
    "if username == user\n",
    "    if password ==passmask\n",
    "        print(\"欢迎\")\n",
    "        break\n",
    "    else:\n",
    "        print(\"账号或密码错误\")\n",
    "\n",
    "        count=0\n",
    "while True:\n",
    "  count =count+1\n",
    "  print(\"gg\")\n",
    "  if count ==100:\n",
    "      break"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "6f6a0998",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
